<template>
  <div class="sub-txt-root check-sub-txt">
    <div class="txt-container">
      <component v-if="inspectInfo != null" :dan-info-data="danInfoData" :handelCode="handelCode"
                 :inspectInfo="inspectInfo" :is="`${handelCode}Txt`"></component>
    </div>

    <div class="short-line">
    </div>

    <!--右侧内容容器-->
    <div class="num-container">
      <num-con ref="num" :dan-info-data="danInfoData" :inspect-info="inspectInfo" :handel-code="handelCode"></num-con>
    </div>
  </div>
</template>

<script>
import NumCon from "@/views/checkBusPage/components/numCon";
import SpotCheckTxt from "@/views/checkBusPage/components/subTxt/spotCheckTxt.vue";
import SuperviseAndExamineTxt from "@/views/checkBusPage/components/subTxt/superviseAndExamineTxt.vue";
import {subPageMixin} from "@/views/checkBusPage/mixins/subPageMixins";

export default {
  mixins: [subPageMixin],
  components: {
    NumCon,
    SpotCheckTxt,
    SuperviseAndExamineTxt,
  },
  props: {
    danInfoData: {
      type: Object
    }
  },
  methods: {
    reload() {
      this.$refs.num.getDataList()
    }
  }
}
</script>

<style scoped>

</style>
